<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/testParam?id=1&username='陈成'}">测试servletAPI获取数据</a><br>
<a th:href="@{/testParamDis(id=1,username='周')}">测试控制器方法的形参获取数据</a><br>
<a th:href="@{/testParamReq(id=1,username='牛')}">测试@RequestParam获取数据</a>

<a th:href="@{/testParamReqPojo(id=1,username='牛')}">测试pojo获取数据</a>


<form th:action="@{/testParamReqPojo}" method="post">
    书名：<input type="text" name="bookName"><br>
    编号：<input type="password" name="bookId"><br>
    性别：<input type="radio" name="sex" value="男">男<input type="radio" name="sex" value="女">女<br>
    年龄：<input type="text" name="age"><br>
    邮箱：<input type="text" name="email"><br>
    <input type="submit">
</form>
</body>
</html>